<style>
body {
	background: #fff;
}
.fui-content{background:#fff}
.fui-icon-group .fui-icon-col {
    margin: 5px 0;
}
.fe-floatback a {
    width: 1.3rem;
    height: 1.3rem;
    line-height: 1.3rem;
    opacity: 0.6;
}
.fe-mod-14 {
    min-height: 174px;
	padding-bottom: 5.8rem;
	background: #fff;
}

.fe-mod-14 a , .fe-mod-14 a:hover {
    color: inherit;
    text-decoration: none;
}

.fe-mod-14 img {
    width: 100%;
    display: block;
}

.fe-mod-14-menu {
    height: 45px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(0,0,0,0.4);
    color: #fff;
}

.fe-mod-14-menu a {
    color: inherit;
}

.fe-mod-14-nav {
    height: 40px;
    width: 25%;
    padding-top: 5px;
    float: left;
    text-align: center;
    font-size: 12px;
}

.fe-mod-14-nav i {
    font-size: 18px;
}

.fe-mod-14-nav-on {
    height: 45px;
    border-bottom: 3px solid #dd2322;
}

.fe-mod-14-shopname {
    height: 24px;
    width: 100%;
    position: absolute;
    top: 7rem;
    left: 0px;
}
.fe-mod-14-name {
    height: 1.4rem;
    width: auto;
    line-height: 1.4rem;
    margin: auto;
    display: table;
    font-size:0.7rem;
    padding: 0px 15px;
}
.fe-mod-14-map {
    width: auto;
    background: rgba(0,0,0,0.2);
    margin: auto;
    display: table;
    border-radius: 1.4rem;
    font-size:0.6rem;
    color: #fff;
    padding: 0px 0.7rem;
}

.fe-mod-14-shoplogo {
    height: 80px;
    width: 80px;
    padding: 4px;
    margin-left: -40px;
    position: absolute;
    top: 3.6rem;
    left: 50%;
}
.fe-mod-14-shoplogo-img {
    height: 70px;
    width: 70px;
    padding: 4px;
    border-radius: 10px;
    margin: auto;
}
.fe-mod-14-shoplogo-img .vip {
	background: #09ba07 none repeat scroll 0 0;
    color: #fff;
    position: absolute;
    top: 2.6rem;
	margin-left:2.2rem;
	height: 0.85rem;
    width: 0.85rem;
    vertical-align: top;
    z-index: 100;
	line-height:1.2;
	text-align:center;
	border: 1.3px solid #fff;
	border-radius:0.85rem;
}
.fe-mod-14-shoplogo-img .set {
    position: absolute;
    top: 0.1rem;
	margin-left:2.2rem;
	height: 0.85rem;
    width: 0.85rem;
    vertical-align: top;
    z-index: 100;
	line-height:1.2;
	text-align:center;
}
.fe-mod-14-shoplogo-img img {
    height: 60px;
    width: 60px;
    border-radius: 10px;
}
.fe-mod-14-shopinfo {
	position: absolute;top:10.2rem;left:2.5%;width:95%;padding: 12px 0 10px;background-color: #fff;border-radius: 10px;border: 1px solid #f2f2f2;
}
.fe-mod-14-shopinfo .desc {
	padding:0 0.8rem;
	font-size:0.6rem;
}
.fe-mod-14-shopinfo .data {
	padding:0 0.8rem;
	margin-top:0.6rem;
	font-size:0.55rem;
	color:#999
}
.post-card .image img { border-radius:2.2rem;}
</style>
<div class="fui-page order-create-page fui-page-current" >
	<div class="fui-content">
		<div class="fui-searchbar bar" style="z-index: 0;">
			<div ng-class="{'searchbar':1,'searchbar-active':pagedata.searchbar ==1}" style="background:#fff">
					<div style="position: relative;left:0;top:0;">
						<div class="search-input">
							<i id="searchsub" class="icon icon-search" ng-click="pagedata.getlist(1)"></i>
							<input type="search" placeholder="输入搜索" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.56rem;background:#f9f9f9" />
						</div>
					</div>
			</div>
		</div>
		<div ng-if="pagedata.list.length<1" class="fui-card fui-card-list fui-card-full post-card">
			<div class="fui-card-content" style="text-align:center;margin-top:1rem">
				<b class="fui-card-content-title">
					还没有任何记录哦！
				</b>
			</div>
		</div>
		<div class="fui-card fui-card-list fui-card-full post-card" ng-repeat="row in pagedata.list">
			<a class='fui-card-info' style="margin-bottom:0.3rem" ng-click="access_json('/item//id='+row.id)" >
				<div class='image'>
					<img ng-src="{{tomedia(row.member.avatar) || '../core/resource/images/nopic.jpg'}}"  />
				</div>
				<div class="text">
					<span class="title" style="height:1rem;color:#f60">{{row.member.nickname || '匿名'}}</span>
					<span class="subtitle" style="font-size:0.5rem;padding-top:0.1rem">{{row.createtime || '1天前'}} 发布</span>
				</div>
			</a>
			<div class="fui-card-content" style="margin-left:2.5rem;" ng-click="access_json('/item//id='+row.id)" >
				<b class="fui-card-content-title">
					{{row.title || '无标题'}} <span ng-if="row.type !=4" class="price">￥{{row.fee ||'0.00'}}</span>
				</b>			
			</div>
			<div ng-repeat="p in row.content">
				<div class="fui-card-images" style="margin-left:2.7rem;padding:0.2rem;" ng-click="access_json('/item//id='+row.id)" >
					<img ng-if="p.type==3" ng-src="{{tomedia(p.data) || '../core/resource/images/nopic.jpg'}}" style="width:3rem;height:3rem" />
					<img ng-if="p.type==10" ng-repeat="img in p.data track by $index" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}"  style="width:3rem;height:3rem" />
				</div>
				<div ng-if="p.type ==11" class="fui-video">
					<video src="{{tomedia(p.data)}}" height="180" width="100%" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto"></video>
				</div>
			</div>
			<div style="margin:0.2rem 0.5rem 0.2rem 2.7rem;padding: 0.2rem;">
				<div ng-repeat="j in row.jieli" style="font-size:0.65rem"><span>{{$index+1}}.{{j.member.nickname}}</span><span style="margin-top:0.5rem;color:#999;font-size:0.45rem"> {{j.createtime}}</span><span style="float:right">{{row.typetitle}}接力+1</span></div>
				<div style="margin:0.2rem;font-size:0.56rem;color:#999"><span>有{{row.looks || 18}}人看过 {{row.jielinums || 0}}人参与</span>
					<span ng-if="row.status==0 && row.noshow==0" style="color:red;float:right">审核中</span>
					<span ng-if="row.status==0 && row.noshow==1" style="color:red;float:right">预览中</span>
					<span ng-if="row.status==1 && row.noshow==0" style="color:#09ba07;float:right">正在接龙</span>
				</div>
			</div>
					
			<div style="margin:0.3rem 0.7rem 0.3rem 2.7rem;font-size:0.56rem;color:#999;height:1rem">
			<span style="float:right">
			<span ng-if="row.isme ==1" ng-click="post({},'/myzuji/copy/','id='+row.id,'','确认复制吗？')"><i class="icon icon-copy" style="color:#000"></i> 复制</span>
			<span style="margin-left:1rem" ng-if="row.isme ==1" ng-click="post({},'del','id='+row.id,'','确认删除吗？')"><i class="icon icon-shanchu1" style="color:#000"></i> 删除</span>
			<span style="margin-left:1rem"  onclick="$('#showremark').modal();"><i class="icon icon-pingjia3" style="color:#000"></i> 留言</span>
			<span style="margin-left:1rem" onclick="$('#showsharecover').modal();"><i class="icon icon-skip" style="color:#000"></i> 转发</span>
			</span>
			</div>
			<div style="margin:0.2rem 0.7rem 0.2rem 2.7rem;padding: 0.5rem;background-color: #f9f9f9;border-radius: 10px;">
				<div ng-repeat="m in row.msg" style="font-size:0.56rem"><span>{{m.member.nickname || '匿名'}}</span>：<span style="color:#999">{{m.title || '无效留言'}}</span></div>
				<div ng-if="row.msgnum>5" style="margin-top:0.5rem;font-size:0.56rem;color:#999">还有{{row.msgnum -5}}条留言</div>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>

<script>
scope.loading = true;  //状态标记
scope.isnodata = false;
scope.pagedata.list =[];
//滚动加载
scope.pagedata.params.keyword = ''
var page = 1;
scope.pagedata.getlist=function(type){
		if(type==1){
			page = 1;
			scope.pagedata.list =[];
		}else{
			
		}
		var keyword = scope.pagedata.params.keyword 
		if(!keyword || keyword=="undefined" || keyword==0){
			   keyword = '';
		}
		scope.get('jy_quan/myzuji/getlist/page='+page+'&keyword='+keyword,
				function(data){
					if(data.error !=1){
								for (var i=0;i<data.list.length;i++){
									scope.pagedata.list.push(data.list[i]);
								}
								if(page >1){
									$(".fui-card-list").animate({scrollTop:0},300);
								}
								if(data.list.length<1){
									scope.isnodata=true;
								}
								page++;
								scope.loading = false;
								scope.$evalAsync();
								//getmpmansory();
							}else{
								console.log('error!');
							};
			});
}
scope.pagedata.getlist(1);
scope.pagedata.scroll_bottom=function(){
	if(!scope.isnodata){
		scope.pagedata.getlist();
	}
}
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>